package com.xt.yncu.model;

import java.util.Date;

import com.xt.base.dao.hibernate.code.IAutoCreateCode;
import com.xt.base.pojo.BasePOJO;

/**
 *  <br>
 * <br>
 * 
 * <p>
 * <a href="Approve.java.html"><i>查看源文件</i></a>
 * </p>
 * 
 * @author 杨洪波
 * @create-date:2011-11-10
 * @hibernate.class table="Approve" dynamic-update="true" dynamic-insert="true" batch-size="200" 
 *
 */
public class Approve extends BasePOJO implements IAutoCreateCode{
	private static final long serialVersionUID = 5055229921590537319L;

	private String userId;
	private String password;
	private String xml;
	private Date   submitDate;
	
	/**是否成功*/
	private boolean submitResult;
	/** 服务端返回的xml信息 */
	private String submitResultInfo;
	/**如果出现异常，异常信息*/
	private String exceptionInfo;
	/**
	 * @hibernate.property column="UserId"
	 * @return 
	 */
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	/**
	 * @hibernate.property column="Password"
	 * @return 
	 */
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	/**
	 * @hibernate.property column="Xml" length="4000"
	 * @return 
	 */
	public String getXml() {
		return xml;
	}
	public void setXml(String xml) {
		this.xml = xml;
	}
	/**
	 * @hibernate.property column="SubmitDate"
	 * @return 
	 */
	public Date getSubmitDate() {
		return submitDate;
	}
	public void setSubmitDate(Date submitDate) {
		this.submitDate = submitDate;
	}
	/**
	 * @hibernate.property column="SubmitResult"
	 * @return 
	 */
	public boolean isSubmitResult() {
		return submitResult;
	}
	public void setSubmitResult(boolean submitResult) {
		this.submitResult = submitResult;
	}
	/**
	 * @hibernate.property column="SubmitResultInfo"
	 * @return 
	 */
	public String getSubmitResultInfo() {
		return submitResultInfo;
	}
	public void setSubmitResultInfo(String submitResultInfo) {
		this.submitResultInfo = submitResultInfo;
	}
	/**
	 * @hibernate.property column="ExceptionInfo"
	 * @return 
	 */
	public String getExceptionInfo() {
		return exceptionInfo;
	}
	public void setExceptionInfo(String exceptionInfo) {
		this.exceptionInfo = exceptionInfo;
	}
	
	
}
